package com.wlw.equipment.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
//方法
@Data
//空构造方法
@NoArgsConstructor
public class PageResult {
    // 统计数量
    private Long total;

    // 设备信息集合
    private List<Equipment> equipments;

    public PageResult(Long total, List<Equipment> equipments) {
        this.total = total;
        this.equipments = equipments;
    }
}
